package cc.yugu.yhdw.common.protocol.msg02;

import cc.yugu.yhdw.common.protocol.MsgCode;
import cc.yugu.yhdw.common.tool.netty.TypeOperator;
import io.netty.buffer.ByteBuf;

import java.util.ArrayList;
import java.util.List;

public class Msg021000004 extends Msg021 {

    public String boxNum;
    public String no;
    public String volume;
    public byte chargeStage;
    public int healthy;

    @Override
    public int getMsgCode() {
        return MsgCode.MSG_021000004.getCode();
    }

    @Override
    public void readData(ByteBuf buffer) {
        boxNum = readString(buffer);
        no = readString(buffer);
        volume = readString(buffer);
        chargeStage = buffer.readByte();
        healthy = buffer.readInt();
    }
}
